import request from '@/utils/request'

// 应用授权
const URL_PREFIX = '/client/data/sync'

/**
 * 获取系统中数据同步的模块及类型列表
 */
export function getInfo(clientId) {
  return request({
    url: URL_PREFIX + `/getInfo/${clientId}`,
    method: 'GET'
  })
}

export function save(data) {
  return request({
    url: URL_PREFIX + '/save',
    method: 'POST',
    data
  })
}
